package com.csyf.manager.service;

import com.csyf.manager.entity.SysTrade;
import com.csyf.manager.utils.page.JqGridVo;

import java.math.BigDecimal;
import java.util.List;

public interface OrderService {


    JqGridVo queryOrderByUserId(SysTrade sysTrade, Integer pageIndex, Integer pageSize);


    SysTrade queryOrderByOrderNo(String orderNo);


    SysTrade queryOrderByOrderNo(String mch_id, String orderNo);


    List<SysTrade> queryWaitOrder(int pageIndex, int pagesize);

    /**
     * 查询JD通道的某一日总的收益
     * @param mch_id
     * @param date
     * @return
     */
    BigDecimal queryJDTotalProfit(String mch_id, String date);
}
